package com.zzyl.mapper;

import com.zzyl.dto.NursingProjectPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingPlanVo;
import com.zzyl.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description NursingPlanMapper
 * @Author LiShunSen
 * @Date 2024-08-27
 */
@Mapper
public interface NursingProjectPlanMapper {

    List<NursingProjectPlanVo> getProjectById(@Param("id") Long id);

    void addProjectPlanById(Long id);

    int addProjectId(@Param("list") List<NursingProjectPlan> projectPlanList);

    List<Long> getById(Long planId);

    int deletList(List<Long> ids);
}
